<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>06_定位可以越过padding</title>
    <style>
      .outer {
        width: 600px;
        height: 600px;
        padding: 20px;
        background-color: skyblue;
        position: relative;
      }
      .inner {
        width: 200px;
        height: 200px;
        background-color: orange;
        position: absolute;
        left: 0;
        top: 0;
      }
    </style>
  </head>

  <body>
    <div class="outer">
      <div class="inner"></div>
    </div>
  </body>
</html>
